<!-- 方便复制粘贴 -->
<template>
  <div class="">
    <FormSearch
      :formItem="searchItem"
      :formData="searchData"
      @clearForm="clearform"
      @submitData="submitData"
    />
    <Table
      :list="tableList"
      :title-list="titleList"
      :selection="false"
      :action-list="actionList"
      @action="action"
      @isCloseOpen="isCloseOpen"
      @refresh="refresh"
    >
      <template v-slot:deviceNames="props">
        <div class="deviceDetail">{{ props.data.deviceName }}</div>
      </template>
    </Table>
    <Pagination
      :limit.sync="searchData.size"
      :page.sync="searchData.current"
      :total-num="total"
      class="page-part"
      @pagechange="updataPage"
    />
  </div>
</template>

<script>
// import util from "./components/util";

export default {
  components: {},
  data() {
    return {
      // ...util.falutInfo(),
    };
  },
  mounted() {},
  computed: {},
  watch: {},
  methods: {
    submitData() {
    },
    updataPage(it) {
      this.searchData.current = it.page;
      this.searchData.size = it.limit;
    },
  },
  created() {},
};
</script>
<style >
</style>